package com.basketball.service.impl;

import com.basketball.entity.Skills;
import com.basketball.repository.RecordRepository;
import com.basketball.repository.SkillsRepository;
import com.basketball.service.SkillsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class SkillServiceImpl implements SkillsService {
    @Autowired
    private SkillsRepository skillsRepository;

    @Override
    public List<Skills> getAllSkills() {
        return skillsRepository.findAll();
    }
}
